package com.service;

import com.bean.Clazz;
import com.bean.ClazzWithStudent;
import com.bean.Student;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface ClazzService {
    public List<Clazz> getClazzs();
    public int addClazz(Clazz clazz);
    public List<Clazz> getClazzsByPage(int page, int limit);
    public int getClazzsLength();
    public int delClazzById(int id);
    public Clazz selectClazzById(int id);
    public int updateClazzById(Clazz clazz);
    public List<ClazzWithStudent> selectStudentByClazzName(String clazzName);
}
